<?php 
	require_once '../core.php';
?>


<form action="../Controllers/sendInvitation.php" method="post">
	<label>Email</label> 
	<input type="text" name="email"/> 
	<input type="hidden" name="first_name" value="<?php echo $oUser->first_name ?>"/> 
	<input type="hidden" name="last_name" value="<?php echo $oUser->last_name ?>"/> 
	<input type="submit"
		value="Envoyer" />
	
</form>
<?php 

	if ($_GET['state'] == 'success') {
		echo 'Invitation bien envoyée';
		
	}


?>
